/** @type {import('next').NextConfig} */
const nextConfig = {
  output: "export",
  crossOrigin: "anonymous",
  trailingSlash: true,
  experimental: {
    optimizePackageImports: ["@reactuses","@radix-ui","lucide-react"],
  },
  webpack: config => {
    config.externals.push('pino-pretty', 'lokijs', 'encoding')
    return config
  }
};

export default nextConfig;
